package com.yuxinmuyu.sports_management.bean.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


/**
 * @Author 张钦栩
 * @Email 1784746527@qq.com
 * @Create 2024-06-22
 * @Description
 */
@Data
@ApiModel("登录请求参数")
public class UserLoginRequest {

    @ApiModelProperty(value = "学工号",required = true)
    @NotBlank(message = "学工号不能为空！")
    private String UserID;

    @ApiModelProperty(value = "密码",required = true)
    @NotBlank(message = "密码不能为空！")
    private String password;

    @ApiModelProperty(value = "验证码",required = true)
    @NotEmpty(message = "验证码不能为空")
    private String code;

    @ApiModelProperty(value = "随机码",required = true)
    @NotEmpty(message = "随机码不能为空")
    private String uuid;

}
